Style sheets <STYLE>

Style sheets allow the authors of Web pages to use very sophisticated formatting. They allow, among other things, paragraph indenting, changing header styles and even spacing between paragraphs. In this way, Style sheets provide a better control of the layout of a Web page.

Style sheets are also used in combination with JavaScript, which incorporates DHTML codes.

With all the new languages being used today, you will find it very advantageous to use style sheets.

Version of style sheets

The use of style sheets in AceHTML refers to the CSS2 version. W3C at http://www.w3.org/style/ provides a number of resources for authors who want to use style sheets. The links also allow obtaining information concerning CSS versions in particular: CSS1, CSS2.

The specifications of each version are important and must be considered according to the browser version which you use as a standard for your Web page.

The types of style sheets

AceHTML allows using three types of style sheets:

Inline style sheets

The styles are used on selected text in a similar way as HTML tags.

Internal style sheets

The styles are defined within the header section of the document. (<HEAD>).

External style sheets

The styles are defined in a separate file which has a .css extension, making it easier to maintain and format styles.